package my.example;

import java.io.Serializable;

/**
 * 通用返回体
 * @author zhouliang
 *
 */
public class ResDTO<T> implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 返回业务码
     */
    private String busCode;
    /**
     * 返回业务码说明
     * @ignore
     */
    private String busMsg;
    
    /**
     * 返回数据
     */
    private T resData = null;

    public String getBusCode() {
        return busCode;
    }

    public void setBusCode(String busCode) {
        this.busCode = busCode;
    }

    public String getBusMsg() {
        return busMsg;
    }

    public void setBusMsg(String busMsg) {
        this.busMsg = busMsg;
    }

    public T getResData() {
        return resData;
    }

    public void setResData(T resData) {
        this.resData = resData;
    }
    
    public boolean isSuccess()
    {
        return true;
    }
}
